<form id="second-form" role="form" data-toggle="validator" method="POST" action="" class="form-horizontal">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('线上版本')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" placeholder="请输入" name="row[version]" value="{$row['version']|default=''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('网站来源/app名称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" placeholder="请输入" name="row[source]" value="{$row['source']|default=''}">
        </div>
    </div>
    <div class="form-group ">
        <label class="control-label col-xs-12 col-sm-2">{:__('appId')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" placeholder="请输入" name="row[appid]" value="{$row['appid']|default=''}">
        </div>
    </div>
    <div class="form-group ">
        <label class="control-label col-xs-12 col-sm-2">{:__('appSecret')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" placeholder="请输入" name="row[secret]" value="{$row['secret']|default=''}">
        </div>
    </div>
    <div class="form-group ">
    <label class="control-label col-xs-12 col-sm-2">{:__('登录界面名称')}:</label>
    <div class="col-xs-12 col-sm-8">
        <input type="text" class="form-control" placeholder="请输入" name="row[page_name]" value="{$row['page_name']|default=''}">
    </div>
</div>
    <div class="form-group ">
        <label class="control-label col-xs-12 col-sm-2">{:__('页面标题')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" placeholder="请输入" name="row[page_title]" value="{$row['page_title']|default=''}">
        </div>
    </div>
    <div class="form-group ">
        <label class="control-label col-xs-12 col-sm-2">{:__('开启苹果支付提示')}:</label>
        <div class="col-xs-12 col-sm-4">
            <label>
                <input type="radio" name="row[is_ios]" value="0" {eq name="$row['is_ios']|default=0" value="0"}checked{/eq}>
                <span>默认关闭</span>
            </label>
            <label>
                <input type="radio" name="row[is_ios]" value="1" {eq name="$row['is_ios']|default=0" value="1"}checked{/eq}>
                <span>开启</span>
            </label>
        </div>
        <div class="col-sm-6">说明：开启后则苹果端小程序购买为提示。</div>
    </div>
    <div class="form-group ">
        <label class="control-label col-xs-12 col-sm-2">{:__('登录接口id')}:</label>
        <div class="col-xs-12 col-sm-4">
            <label>
                <input type="radio" name="row[login_entry]" value="0" {eq name="$row['login_entry']|default=0" value="0"}checked{/eq}>
                <span>本站登录</span>
            </label>
            <label>
                <input type="radio" name="row[login_entry]" value="1" {eq name="$row['login_entry']|default=0" value="1"}checked{/eq}>
                <span>宝典</span>
            </label>
            <label>
                <input type="radio" name="row[login_entry]" value="2" {eq name="$row['login_entry']|default=0" value="2"}checked{/eq}>
                <span>助考</span>
            </label>
        </div>
        <div class="col-sm-4">说明：接口选择非本站后，其他设置失效</div>
    </div>
    <div class="form-group ">
        <label class="control-label col-xs-12 col-sm-2">{:__('平台')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" placeholder="请输入" name="row[platform]" value="{$row['platform']|default=''}">
        </div>
    </div>
    <div class="form-group ">
        <label class="control-label col-xs-12 col-sm-2">{:__('首页风格')}:</label>
        <div class="col-xs-12 col-sm-8">
            <label class="">
                <input type="radio" name="row[index_style]" value="0" {eq name="$row['index_style']|default=0" value="0"}checked{/eq}>
                <span>默认首页(蓝色,含幻灯片、功能模块、套餐推荐)</span>
            </label>
            <label class="">
                <input type="radio" name="row[index_style]" value="1" {eq name="$row['index_style']|default=0" value="1"}checked{/eq}>
                <span>喜庆首页(红色,含幻灯片、功能模块、套餐推荐)</span>
            </label>
            <label class="">
                <input type="radio" name="row[index_style]" value="2" {eq name="$row['index_style']|default=0" value="2"}checked{/eq}>
                <span>助考app专用(蓝色,含幻灯片、功能模块等)</span>
            </label>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('科目')}:</label>
        <div class="col-xs-12 col-sm-10">
            <label class=" form-inline">
                <input type="radio" name="row[subject]" value="0" {eq name="$row['subject']|default=0" value="0"}checked{/eq}>
                <span>默认所有科目带搜索</span>
            </label>
            <div class=" form-inline">
                <label class="">
                    <input type="radio" name="row[subject]" value="1" {eq name="$row['subject']|default=0" value="1"}checked{/eq}>
                    <span>科目ID：</span>
                </label>
                <input type="text" placeholder="请输入科目id" style="width: 380px" class="form-control" name="row[subject_ids]" value="{$row['subject_ids']|default=''}">
            </div>
            <div class=" form-inline" style="margin-top: 3px;">
                <label class="">
                    <input type="radio" name="row[subject]" value="2" {eq name="$row['subject']|default=0" value="2"}checked{/eq}>
                    <span>科目混合分类</span>
                </label>
                <input type="text" placeholder="请输入科目分类id" style="width: 380px" class="form-control" name="row[subject_cat_ids]" value="{$row['subject_cat_ids']|default=''}">
            </div>
            <div class="form-inline">
                <label>
                    <input type="radio" name="row[subject]" value="3" {eq name="$row['subject']|default=0" value="3"} checked {/eq}>
                    <span>科目顶级分类</span>
                </label>
                <input type="text" placeholder="请输入科目顶级分类的id" class="form-control" name="row[subject_cat_top_ids]" value="{$row['subject_cat_top_ids']|default=''}">
            </div>

        </div>
    </div>
    <div class="form-group ">
        <label class="control-label col-xs-12 col-sm-2">{:__('电话')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" placeholder="不输入时用官方默认电话" name="row[tel]" value="{$row['tel']|default=''}">
        </div>
    </div>
    <div class="form-group ">
        <label class="control-label col-xs-12 col-sm-2">{:__('QQ')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" placeholder="不输入时用官方默认QQ" name="row[qq]" value="{$row['qq']|default=''}">
        </div>
    </div>
    <div class="form-group ">
        <label class="control-label col-xs-12 col-sm-2">{:__('公众号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" placeholder="不输入时用官方默认公众号" name="row[mp]" value="{$row['mp']|default=''}">
        </div>
    </div>
    <div class="form-group ">
        <label class="control-label col-xs-12 col-sm-2">{:__('客服时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" placeholder="请输入" name="row[time]" value="{$row['time']|default=''}">
        </div>
    </div>
    <div class="form-group ">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>